/*
 *    GeoTools Sample code and Tutorials by Open Source Geospatial Foundation, and others
 *    https://docs.geotools.org
 *
 *    To the extent possible under law, the author(s) have dedicated all copyright
 *    and related and neighboring rights to this software to the public domain worldwide.
 *    This software is distributed without any warranty.
 *
 *    You should have received a copy of the CC0 Public Domain Dedication along with this
 *    software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
// Implementation, vhudson-jaxb-ri-2.1-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.04.10 at 05:20:23 PM EST
//

package org.geotools.po;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;

/**
 * This object contains factory methods for each Java content interface and Java element interface
 * generated in the org.geotools.po package.
 *
 * <p>An ObjectFactory allows you to programatically construct new instances of the Java
 * representation for XML content. The Java representation of XML content can consist of schema
 * derived interfaces and classes representing the binding of schema type definitions, element
 * declarations and model groups. Factory methods for each of these are provided in this class.
 */
@XmlRegistry
public class ObjectFactory {

    private static final QName _Comment_QNAME = new QName("http://www.geotools.org/po", "comment");
    private static final QName _PurchaseOrder_QNAME =
            new QName("http://www.geotools.org/po", "purchaseOrder");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes
     * for package: org.geotools.po
     */
    public ObjectFactory() {}

    /** Create an instance of {@link USAddress } */
    public USAddress createUSAddress() {
        return new USAddress();
    }

    /** Create an instance of {@link Items.Item } */
    public Items.Item createItemsItem() {
        return new Items.Item();
    }

    /** Create an instance of {@link PurchaseOrderType } */
    public PurchaseOrderType createPurchaseOrderType() {
        return new PurchaseOrderType();
    }

    /** Create an instance of {@link Items } */
    public Items createItems() {
        return new Items();
    }

    /** Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} */
    @XmlElementDecl(namespace = "http://www.geotools.org/po", name = "comment")
    public JAXBElement<String> createComment(String value) {
        return new JAXBElement<>(_Comment_QNAME, String.class, null, value);
    }

    /** Create an instance of {@link JAXBElement }{@code <}{@link PurchaseOrderType }{@code >}} */
    @XmlElementDecl(namespace = "http://www.geotools.org/po", name = "purchaseOrder")
    public JAXBElement<PurchaseOrderType> createPurchaseOrder(PurchaseOrderType value) {
        return new JAXBElement<>(_PurchaseOrder_QNAME, PurchaseOrderType.class, null, value);
    }
}
